Optimal. Leaf size=23 \[ \frac {\sin ^2(x)}{2 a}-\frac {\sin ^3(x)}{3 a} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.10, antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {3872, 2835, 2564, 30} \[ \frac {\sin ^2(x)}{2 a}-\frac {\sin ^3(x)}{3 a} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 2564
Rule 2835
Rule 3872
Rubi steps
\begin {align*} \int \frac {\cos ^3(x)}{a+a \csc (x)} \, dx &=\int \frac {\cos ^3(x) \sin (x)}{a+a \sin (x)} \, dx\\ &=\frac {\int \cos (x) \sin (x) \, dx}{a}-\frac {\int \cos (x) \sin ^2(x) \, dx}{a}\\ &=\frac {\operatorname {Subst}(\int x \, dx,x,\sin (x))}{a}-\frac {\operatorname {Subst}\left (\int x^2 \, dx,x,\sin (x)\right )}{a}\\ &=\frac {\sin ^2(x)}{2 a}-\frac {\sin ^3(x)}{3 a}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 17, normalized size = 0.74 \[ \frac {(3-2 \sin (x)) \sin ^2(x)}{6 a} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.64, size = 22, normalized size = 0.96 \[ -\frac {3 \, \cos \relax (x)^{2} - 2 \, {\left (\cos \relax (x)^{2} - 1\right )} \sin \relax (x)}{6 \, a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.43, size = 18, normalized size = 0.78 \[ -\frac {2 \, \sin \relax (x)^{3} - 3 \, \sin \relax (x)^{2}}{6 \, a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.23, size = 18, normalized size = 0.78 \[ \frac {-\frac {\left (\sin ^{3}\relax (x )\right )}{3}+\frac {\left (\sin ^{2}\relax (x )\right )}{2}}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.32, size = 18, normalized size = 0.78 \[ -\frac {2 \, \sin \relax (x)^{3} - 3 \, \sin \relax (x)^{2}}{6 \, a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 15, normalized size = 0.65 \[ -\frac {{\sin \relax (x)}^2\,\left (2\,\sin \relax (x)-3\right )}{6\,a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {\int \frac {\cos ^{3}{\relax (x )}}{\csc {\relax (x )} + 1}\, dx}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________